x86/IRQ: add explicit tracing-enabled check to trace_irq_mask()
authorJan Beulich <jbeulich@suse.com>
Thu, 4 Jul 2019 15:42:25 +0000 (17:42 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 4 Jul 2019 15:42:25 +0000 (17:42 +0200)
commit92b80e3e3dfacf389cff797580b3806576051dfd
treefb6969d3d0700b5b2ebb515aac5dc56e97fcd074
parentacdb58b9b93f6ce2be1442295925a801cba706e6
x86/IRQ: add explicit tracing-enabled check to trace_irq_mask()

The setup for calling trace_var() (which itself checks tb_init_done) is
non-negligible, and hence a separate outer-most check is warranted.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/irq.c